package main.observer;

public class StatisticDisplayObserver implements Observer {

    @Override
    public void update(Observable observable) {
	if (observable instanceof DataSubject) {
	    DataSubject subject = (DataSubject) observable;
	    System.out.println("Statistic Display Observer: " + subject.getDegree());
	}
    }
}
